package com.yuanfeng.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.commoms.util.ResponseResult;
import com.yuanfeng.goods.dto.ManageByTypeIdParamInfoDTO;
import com.yuanfeng.goods.entity.GoodsPropertyEntity;

import java.util.Map;

/**
 *
 */
public interface GoodsPropertyService extends IService<GoodsPropertyEntity> {

    /**
     * 删除商品属性
     *
     * @param param
     * @return
     */
    ResponseResult deteleGoodsProperty(Map<String, Object> param);


    /**
     * 新增或更新商品属性
     *
     * @param param
     * @return
     */
    ResponseResult addGoodsProperty(Map<String, Object> param);

    /**
     * 根据typeId查询商品发布相关信息
     *
     * @param param
     * @return
     */
    ResponseResult queryByTypeId(ManageByTypeIdParamInfoDTO param);
}
